From 99df591e3ad0a283bc7051f9efc4f9d7244d7979 Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Fri, 17 Mar 2017 09:30:41 +0100 Subject: [PATCH] Revert "x86/vvmx: add a shadow vmcs check to vmlaunch" This reverts commit b22ee98c4ecc4e7c827451dee01181529df4d26c, causing a regression. --- xen/arch/x86/hvm/vmx/vvmx.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/xen/arch/x86/hvm/vmx/vvmx.c b/xen/arch/x86/hvm/vmx/vvmx.c index 173ec7455e..3017849177 100644 --- a/xen/arch/x86/hvm/vmx/vvmx.c +++ b/xen/arch/x86/hvm/vmx/vvmx.c @@ -1630,13 +1630,6 @@ int nvmx_handle_vmlaunch(struct cpu_user_regs *regs) return X86EMUL_OKAY; } - /* Check that guest is not using a shadow vmcs for vmentry */ - if ( nvmx->shadow_vmcs ) - { - vmfail_invalid(regs); - return X86EMUL_OKAY; - } - __vmread(GUEST_INTERRUPTIBILITY_INFO, &intr_shadow); if ( intr_shadow & VMX_INTR_SHADOW_MOV_SS ) { -- 2.30.2